package no.ffi.gismoidm.discovery;

import java.io.File;
import java.io.Serializable;
import java.sql.ResultSet;
import java.util.Date;
import java.util.List;
import no.ffi.tpm.crypto.CryptoOperations;

/**
 *
 * @author anders
 */
public class ServiceItem implements Serializable {
    public String serviceURL,idpURL;
    public List serviceDescription;
    public byte[] parameterClass;
    public Integer protocolClass;
    public String serviceDN;
    public Date serviceExpiration; 
    
    public void setParameterClass(Class p) {
        parameterClass = CryptoOperations.serialize(p);
    }
    public Class getParameterClass() {
        return (Class)CryptoOperations.deserialize(parameterClass);
    }
}
